package com.xzz.dto;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class OrderParamDto {

    @NotEmpty(message = "不能为空")
    private List<Long> courseIds;

    @NotNull(message = "不能为空")
    private Integer payType;

    @NotEmpty(message = "不能为空")
    private String token;

    @NotNull(message = "不能为空")
    private Integer type;
}
